package com.iweb.commons.utils;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: jack
 * @date: 2022-08-01 0001
 * @ApiNOTE:
 */
public class UrlUtil {

  public static String action(HttpServletRequest request, String prefix) {
    String url = request.getRequestURI();
    return url.replace(prefix, "");
  }

}
